package com.novax.ex.activity.open.model.response;

import com.novax.ex.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description
 * @Author Hsylient
 * @Date 2022/12/08/10:01
 */
@Schema(description = "ieo申购记录")
@Data
public class IeoSubscribeResponse {
    @Schema(description = "订单id")
    private Long id;
    @Schema(description = "ieo_id")
    private Long ieoId;
    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "项目名称")
    private String projectName;
    @Schema(description = "申购币种")
    private String currency;
    @Schema(description = "支付币种")
    private String payCurrency;
    @Schema(description = "锁仓数量")
    private BigDecimal payAmount;
    @Schema(description = "实际支付数量")
    private String realPayAmount;
    @Schema(description = "认购时间")
    private Date createTime;
    @Schema(description = "认购状态 0:待确认 1:成功 2:失败")
    private Integer state;
    @Schema(description = "活动状态 0=进行中 1=已结束")
    private Integer activityState;
    @Schema(description = "IEO代币总数")
    private String amount;
    @Schema(description = "修正 得到数量(此字段优先级高于amount)")
    private BigDecimal shareAmount;
    @Schema(description = "解锁时间")
    private Date unlockTime;
    @Schema(description = "是否解冻并发放过新币 默认值为：0, 已结算:1 , 已发币:2")
    private Integer unfreeze;
}
